package com.lovo.roomProject.student.dao;

import com.lovo.roomProject.pojo.CutPageBean;
import com.lovo.roomProject.pojo.StudentDO;

import java.util.List;

public interface StudentDAO {
    List listStudent();

    //查询
    StudentDO getById(int id);

    //添加
    void insert(StudentDO studentDO);


    //删除
    void delete(int id);

    //换房
    void update(StudentDO studentDO);

    //分页和查找

    CutPageBean listStudentByPage(int current,String name,String className,String roomAddr);

}
